
import {
    createRouter,
    createWebHashHistory,
  } from 'vue-router'
  import Home from '../views/home/index.vue'
  import Login from '../views/login/index.vue'
  const routes = [
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path: '/Home',
      name: 'Home',
      component: Home
    },
  ]
  
  const router = createRouter({
    history: createWebHashHistory(),
    routes
  })
  
  export default router
  